package com.enjoyor.health.HGPT.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author enjoyor
 * @since 2023-10-18
 */
@TableName("selftest_userrecord")
@ApiModel(value = "SelftestUserrecord对象", description = "")
public class SelftestUserrecord implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("自测题id")
    private String selftestId;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("测试时间")
    private LocalDateTime testTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSelftestId() {
        return selftestId;
    }

    public void setSelftestId(String selftestId) {
        this.selftestId = selftestId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public LocalDateTime getTestTime() {
        return testTime;
    }

    public void setTestTime(LocalDateTime testTime) {
        this.testTime = testTime;
    }

    @Override
    public String toString() {
        return "SelftestUserrecord{" +
            "id = " + id +
            ", selftestId = " + selftestId +
            ", userId = " + userId +
            ", testTime = " + testTime +
        "}";
    }
}
